GUI Help > General > activateGadget

activateGadget
activateGadget handle gadget

Description:
Activates the gadget so that it has keyboard focus, ie. if the user presses any keys, that gadget will receive them. The gadget may also change its appearence in some way to reflect the fact that it is activated. For example a blinking cursor appears in an active edit gadget.

Return Value:


Parameters:
gadget Handle to a gadget.
Remarks:


See Also:


Example:
(Note: You will need to include the GUI constants file for this example to work)